﻿using K9Nano.Updater.Exceptions;

namespace K9Nano.Updater.Server.Authorization;

public interface IClientContextAccessor
{
    ClientContext? Client { get; }

    string RequiredClientId => Client?.ClientId ?? throw new UpdateException("ClientId不存在");
}